/*
 * @Author: Aaron Huang
 * @Date: 2022-10-19 17:18:14
 * @LastEditors: Aaron Huang
 * @LastEditTime: 2022-11-09 16:37:54
 * @Description: file content
 * @FilePath: \ias_ui\src\views\coi\CBEC\js\dictionary.js
 * @Company: 沃尔玛
 */
import { channelCode, goodsType_CBEC } from '@/views/coi/commonJs/dictionary'

export const statusCode = {
  DRAFT: 400,
  PUSH_FAILED: 8002,
  COMPLETED: 8000
}

export const modifyStatusCode = {
  DRAFT: 9000,
  CHANGING: 9010,
  COMPLETE: 9040
}

export const modifyStatus = [
  {
    label: '草稿',
    value: modifyStatusCode.CHANGING
  },
  {
    label: '已完成',
    value: modifyStatusCode.COMPLETE
  }
]

export const status = [
  {
    label: '草稿',
    value: statusCode.DRAFT
  },
  {
    label: '推送失败',
    value: statusCode.PUSH_FAILED
  },
  {
    label: '已完成',
    value: statusCode.COMPLETED
  }
]

export const buildingType = goodsType_CBEC

export const constructionChannel = [
  {
    label: '沃尔玛到家',
    value: channelCode.WMDJ
  },
  {
    label: '京东到家',
    value: channelCode.JDDJ
  },
  {
    label: '京东沃选',
    value: channelCode.JDWX
  }
]
